let code = {}
code.loop = `
<template>
    <Carousel autoplay v-model="value2" loop>
        <CarouselItem>
            <div class="demo-carousel">1</div>
        </CarouselItem>
        <CarouselItem>
            <div class="demo-carousel">2</div>
        </CarouselItem>
        <CarouselItem>
            <div class="demo-carousel">3</div>
        </CarouselItem>
        <CarouselItem>
            <div class="demo-carousel">4</div>
        </CarouselItem>
    </Carousel>
</template>
<script>
    export default {
        data () {
            return {
                value2: 0
            }
        }
    }
</script>
`
code.base = `
  <Timeline pending>
    <TimelineItem color="green">
      <Icon type="ios-trophy" slot="dot"></Icon>
      <span>发布里程碑版本</span>
    </TimelineItem>
    <TimelineItem color="green">
      <Icon type="md-color-palette" slot="dot" />
      <span>发布2.0版本</span>
    </TimelineItem>
    <TimelineItem color="red">
      <Icon type="md-warning" slot="dot" />
      <span>严重故障</span>
    </TimelineItem>
    <TimelineItem color="blue">发布3.0版本</TimelineItem>
    <TimelineItem><a href="#">3.1 开发中...</a></TimelineItem>
  </Timeline>
`

export default code
